package com.my.house.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.my.house.common.BaseDomain;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 楼栋信息表映射实体
 * </p>
 *
 * @author yangll
 * @since 2025-02-08
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class Building extends BaseDomain {

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 楼栋名
     */
    private String name;

    /**
     * 地址
     */
    private String address;


}
